package com.goods.business.service;

import com.github.pagehelper.PageInfo;
import com.goods.common.vo.business.ProductStockVO;
import com.goods.common.vo.business.ProductVO;

import java.util.Map;

/**
 * @description：
 * @version:
 * @author：ruixinag
 * @create：Created in 2021/11/8 14:06
 */
public interface ProductService {
    Map<String,Object> findProductList(Map map);

    void add(ProductVO productVO);

    void publish(Long id);

    void remove(Long id);

    void back(Long id);

    void delete(Long id);

    ProductVO edit(Long id);

    void update(Long id, ProductVO productVO);

    PageInfo<ProductVO> findProducts(Map paramMap);

    PageInfo<ProductStockVO> findProductStocks(Map paramMap);
}
